/*
 * Copyright (c) 2022  by Junzhao
 * THIS FILE IS PART OF JAVA-Data-Structures-and-Algorithms PROJECT
 * All Rights Reserved.
 */

package 归并;

import 工具.Unit;

public class MergeTest {
    public static void main(String[] args) {
        int[] arr = Unit.intArr();
        Merge.sort(arr);
        for (int i : arr) {
            System.out.print(i + " ");
        }

//        int[] arr = Unit.randomArr();
//
//        long s = System.currentTimeMillis();
//        Merge.sort(arr);
//        long e = System.currentTimeMillis();
//        System.out.println(e - s + "ms");// 1354ms 1321ms 1331ms

    }
}